/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package fr.uha.ensisa.kfetmanager.product;

import java.util.Iterator;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author JC
 */
@Remote
public interface ProductManagerRemote {

    Product createProduct(Product product, String name, double price, String imageUrl);
    Product updateProduct(Product product, String name, double price, String imageUrl);
    Product getProduct(Long id);
    List<Product> getProducts();
    Iterator<Product> iterator();
    void deleteProduct(Product product);
}
